{% extends 'base_tabler.html' %}

{% block content %}
<div class="container mt-5">
  <div class="row justify-content-center">
    <div class="col-md-8">
      <div class="card">
        <div class="card-header">
          <h3 class="card-title">个人信息设置</h3>
        </div>
        <div class="card-body">
          <p>这里是个人信息设置页面。</p>
          <!-- Add user profile form or settings options here -->
          <form method="post">
            {% csrf_token %}
            {# Example: Add form fields for user settings #}
            <div class="mb-3">
              <label for="email" class="form-label">邮箱地址</label>
              <input type="email" class="form-control" id="email" value="{{ user.email }}">
            </div>
            <button type="submit" class="btn btn-primary">保存更改</button>
          </form>
          <p><a href="{% url 'user_dashboard' %}" class="btn btn-secondary mt-3">返回用户仪表盘</a></p>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}